<%@ page contentType="text/html;charset=UTF-8" %>
<%

  def q = params.q;
  //q=java.net.URLDecoder.decode(q,"UTF-8");
 q= escape(q)
 if(q=="a")
 {
   def result = "a|1\r\n";
   result +="ab|2\r\n";
  result +="abc|3\r\n";
  result +="abcd|4\r\n";
   result +="啊abcd|4\r\n";
   out.println(result)
 }
if(q=="啊")
 {
   def result = "啊a|1\r\n";
   result +="啊ab|2\r\n";
  result +="啊abc|3\r\n";
  result +="啊abcd|4\r\n";
   out.println(result)
 }

%>